from conf_center import models
from rest_framework.viewsets import ModelViewSet
from .serializers import EnvironmentModelSerializer

# 环境数据的增加和展示
class EnvironmentView(ModelViewSet):
    queryset = models.Evrironment.objects.all()
    serializer_class = EnvironmentModelSerializer
